package com.example.module.user.form;


import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author ghy
 * @date 2025/08/06
 * @description 用户更新表单
 */
@Data
public class UserUpdateForm {
    /*
     * 用户ID
     * */
    @NotBlank(message = "用户ID不能为空")
    private Long userId;
    /*
     * 用户名
     * */
    private String userName;

    /*
     * 用户手机号
     * */
    private String userPhone;

    /*
     * 用户密码
     * */
    private String userPassword;

    /*
     * 用户性别
     * */
    private String userSex;

    /*
     * Getter and Setter
     * */

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }
}
